import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MarshalException } from "../../Engine/RMI/MarshalException";
type int = number;
//class ECopyType

export class ECopyType {
  constructor(arg1: int) {
    this.__value = arg1;
    return;
  }

  public static __read(arg1: SerializeStream): ECopyType {
    var loc1 = arg1.readByte();
    if (loc1 < 0 || loc1 >= 85) {
      throw new MarshalException();
    }
    return ECopyType.convert(loc1);
  }

  public value(): int {
    return this.__value;
  }

  public __write(arg1: SerializeStream): void {
    arg1.writeByte(this.__value);
    return;
  }

  public static convert(arg1: int): ECopyType {
    return new ECopyType(arg1);
  }

  public static /* const */ _ECopyGuild: int = 1;

  public static /* const */ _ECopyBattle: int = 2;

  public static /* const */ _ECopySpa: int = 3;

  public static /* const */ _ECopyVIPHook: int = 4;

  public static /* const */ _ECopyGuildWar: int = 5;

  public static /* const */ _ECopyTower: int = 6;

  public static /* const */ _ECopyDefense: int = 7;

  public static /* const */ _ECopyCoin: int = 8;

  public static /* const */ _ECopySixty: int = 9;

  public static /* const */ _ECopyArena: int = 10;

  public static /* const */ _ECopyFairyland: int = 11;

  public static /* const */ _ECopyPeaceField: int = 12;

  public static /* const */ _ECopyWedding: int = 13;

  public static /* const */ _ECopyPetExplore: int = 14;

  public static /* const */ _ECopyNewBattle: int = 15;

  public static /* const */ _ECopySeventy: int = 16;

  public static /* const */ _ECopy60Defense: int = 17;

  public static /* const */ _ECopyGuildAltar: int = 18;

  public static /* const */ _ECopyGuildStruggle: int = 19;

  public static /* const */ _ECopyArenaCross: int = 20;

  public static /* const */ _ECopySkyCity: int = 21;

  public static /* const */ _ECopyCrossSpa: int = 22;

  public static /* const */ _ECopyGuildPasture: int = 23;

  public static /* const */ _ECopyGuildDefense: int = 24;

  public static /* const */ _ECopyCrossBeach: int = 25;

  public static /* const */ _ECopyPetArena: int = 26;

  public static /* const */ _ECopyGangFights: int = 27;

  public static /* const */ _ECopyDrama: int = 28;

  public static /* const */ _ECopyRace: int = 29;

  public static /* const */ _ECopyCrossBoss: int = 30;

  public static /* const */ _ECopyEighty: int = 31;

  public static /* const */ _ECopySeal: int = 32;

  public static /* const */ _ECopyCrossStair: int = 33;

  public static /* const */ _ECopyWrestle: int = 34;

  public static /* const */ _ECopyCrossUnique: int = 35;

  public static /* const */ _ECopyBossField: int = 36;

  public static /* const */ _ECopyCrossDefense: int = 37;

  public static /* const */ _ECopyCrossSecret: int = 38;

  public static /* const */ _ECopyRobCityOne: int = 39;

  public static /* const */ _ECopyRobCityTwo: int = 40;

  public static /* const */ _ECopyRobCityThree: int = 41;

  public static /* const */ _ECopyWatchRecord: int = 50;

  public static /* const */ _ECopyEatBeans: int = 51;

  public static /* const */ _ECopyDirectionDrop: int = 52;

  public static /* const */ _ECopyLostSea: int = 53;

  public static /* const */ _ECopyKingChampionship: int = 60;

  public static /* const */ _ECopyCrossSea: int = 61;

  public static /* const */ _ECopyCountryMoney: int = 62;

  public static /* const */ _ECopyCrossBossEntrance: int = 63;

  public static /* const */ _ECopyRobFlag: int = 64;

  public static /* const */ _ECopyCrossBossField: int = 65;

  public static /* const */ _ECopyGuildElite: int = 66;

  public static /* const */ _ECopyCrossGuildWar: int = 67;

  public static /* const */ _ECopy80Defense: int = 69;

  public static /* const */ _ECopyFireMonsterIsland: int = 70;

  public static /* const */ _ECopyFireIslandCenter: int = 71;

  public static /* const */ _ECopyUpgradeCrossSecret: int = 72;

  public static /* const */ _ECopyUpgradeCrossBoss: int = 73;

  public static /* const */ _ECopyUpgradeCrossBossEntrance: int = 74;

  public static /* const */ _ECopyCrossSpiritWarWaitingRoom: int = 75;

  public static /* const */ _ECopyCrossSpiritWar: int = 76;

  public static /* const */ _ECopyRobIsland: int = 68;

  public static /* const */ _ECopyChoiceTemple: int = 78;

  public static /* const */ _ECopyLadder: int = 79;

  public static /* const */ _ECopyCrossTower: int = 80;

  public static /* const */ _ECopyPlough: int = 81;

  public static /* const */ _ECopyDominion: int = 82;

  public static /* const */ _ECopy105Material: int = 83;

  public static /* const */ _ECopyChaosFight: int = 84;

  public static /* const */ _ECopyNormal: int = 0;

  public static /* const */ _ECopyMount: int = 77;

  public /* var */ __value: int;
}
